FaceDetectionResult class Null safety

人脸检测结果

Constructors

FaceDetectionResult({int? detectResult, int? imageWidth, int? imageHeight, List<Rectangle>? faces})
const

Properties

detectResult → int?
人脸检测结果: [...]
final
faces → List<Rectangle>?
识别到人脸的矩形框。数组的长度和检测到的人脸数量一致。
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
imageHeight → int?
原始图片高度(px)。
final
imageWidth → int?
原始图片宽度(px)。
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited